//
//  MCBasicTableViewCell.h
//  MCPublicModule
//
//  Created by Mirko on 16/2/19.
//  Copyright © 2016年 Mirko. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BasicCellCallBackWithModel)(NSDictionary *cellModel);
typedef void(^BasicCellCallBackWithEvent)(NSInteger clickIndex);

@interface MCBasicTableViewCell : UITableViewCell

@property (nonatomic, strong) id cellModel;
@property (nonatomic, strong) NSDictionary *cellDir;
@property (nonatomic, strong) BasicCellCallBackWithModel modelBlcok;
@property (nonatomic, strong) BasicCellCallBackWithEvent eventBlock;

+(CGFloat) cellHeight:(CGFloat) defaultHeight;
-(void) setCellDataModel:(id) cellModel;
-(void) setCellDataDir:(NSDictionary *) cellDir;

@end
